/**
 * Created by IntelliJ IDEA.
 * User: Tomek
 * Date: 23.06.12
 * Time: 16:34
 * To change this template use File | Settings | File Templates.
 */
package AS3.constants {
import flash.sampler.startSampling;

public class Coefficients {
    public function Coefficients() {
    }

    public static const COAL_HEAT_GJ:Number = new Number(100 + 32);
    public static const OIL_HEAT_GJ:Number = new Number(73 + 17);
    public static const GAS_HEAT_GJ:Number = new Number(54 + 16);
    public static const NUCLEAR_HEAT_GJ:Number = new Number(3);
    public static const HYDRO_HEAT_GJ:Number = new Number(30);
    public static const RENEWABLE_HEAT_GJ:Number = new Number(10);
// Do produkcji prądu
    public static const COAL_ELECTRICITY_MWh:Number = new Number(900 + 200);
    public static const OIL_ELECTRICITY_MWh:Number = new Number(650 + 150);
    public static const GAS_ELECTRICITY_MWh:Number = new Number(450 + 100);
    public static const NUCLEAR_ELECTRICITY_MWh:Number = new Number(2 + 10);
    public static const HYDRO_ELECTRICITY_MWh:Number = new Number(100);
    public static const RENEWABLE_ELECTRICITY_MWh:Number = new Number(36);
// Do wykorzystania prądu do ogrzewania,
    public static const COAL_ELECTRICITY_GJ:Number = new Number(COAL_ELECTRICITY_MWh / 3.6);
    public static const OIL_ELECTRICITY_GJ:Number = new Number(OIL_ELECTRICITY_MWh / 3.6);
    public static const GAS_ELECTRICITY_GJ:Number = new Number(GAS_ELECTRICITY_MWh / 3.6);
    public static const NUCLEAR_ELECTRICITY_GJ:Number = new Number(NUCLEAR_ELECTRICITY_MWh / 3.6);
    public static const HYDRO_ELECTRICITY_GJ:Number = new Number(HYDRO_ELECTRICITY_MWh / 3.6);
    public static const RENEWABLE_ELECTRICITY_GJ:Number = new Number(RENEWABLE_ELECTRICITY_MWh / 3.6);

//http://www.rensmart.com/Information/KWHToCO2Conversion
//http://www.esru.strath.ac.uk/EandE/Web_sites/01-02/RE_info/C02.htm
//kwh -> 0.970 g - > 1 tona CO2 = 1030,93

    public static const KWh_TONNE_CO2_COAL:Number = new Number(1030.93);
//kwh -> 0.740 g - > 1 tona CO2 = 1351,36
    public static const KWh_TONNE_CO2_OIL:Number = new Number(1351.36);
//kwh -> 0.385 g - > 1 tona CO2 = 2597,4
    public static const KWh_TONNE_CO2_GAS:Number = new Number(2597.4);

    public static const EMISSION_EU:Number = new Number(7.5);
    public static const EMISSION_US:Number = new Number(17);
    public static const EMISSION_CHINA:Number = new Number(7.3);
    public static const EMISSION_INDIA:Number = new Number(1.8);

    public static const CONSUMPTION_GJ_EU:Number = new Number(176.67);
    public static const CONSUMPTION_GJ_US:Number = new Number(404.26);
    public static const CONSUMPTION_GJ_CHINA:Number = new Number(70.95);
    public static const CONSUMPTION_GJ_INDIA:Number = new Number(18.67);

    public static const TREES_PER_TONNE_CO2:Number = new Number(77);

    public static const MJ_PER_KG_COAL:Number = new Number(29);
    public static const MJ_PER_KG_OIL:Number = new Number(42) ;  //1 kg => 42MJ
    public static const MJ_PER_KG_GAS:Number = new Number(49); //1 kg => 49MJ

    public static const COAL_KG_PER_GJ_HEAT:Number = new Number(1000/MJ_PER_KG_COAL); //1 kg => 29 MJ
    public static const OIL_KG_PER_GJ_HEAT:Number = new Number(1000/MJ_PER_KG_OIL) ;  //1 kg => 42MJ
    public static const GAS_KG_PER_GJ_HEAT:Number = new Number(1000/MJ_PER_KG_GAS); //1 kg => 49MJ

    public static const OIL_KWh_KG:Number = MJ_PER_KG_COAL/3.6;
    public static const COAL_KWh_KG:Number = MJ_PER_KG_OIL/3.6;
    public static const GAS_KWh_KG:Number = MJ_PER_KG_GAS/3.6;

    public static const PRIMARY_FINAL_COAL_MODERN_EN_RATIO:Number = new Number(1.5);
    public static const PRIMARY_FINAL_COAL_FURNACE_EN_RATIO:Number = new Number(3.33);
    public static const PRIMARY_FINAL_GAS_AVERAGE_EN_RATIO:Number = new Number(1.24);
    public static const PRIMARY_FINAL_OIL_EN_RATIO:Number = new Number(1.18);
    public static const PRIMARY_FINAL_BIOMASS_EN_RATIO:Number = new Number(1.25);

    public static const ROOF_GJ_PER_SQUARE_METER:Number = new Number((53 * 3.6)/1000);
    public static const FLOOR_GJ_PER_SQUARE_METER:Number = new Number((81 * 3.6)/1000);
    public static const EXTERNAL_WALLS_GJ_PER_SQUARE_METER:Number = new Number((190 * 3.6)/1000);
    public static const INTERNAL_WALLS_GJ_PER_SQUARE_METER:Number = new Number((94 * 3.6)/1000);


}
}
